Xbasic

SQL Events

Description

SQL Event functions can be used when performing SQL operations, such Create, Update, and Delete operations and DatabaseSnapshots.

Name
Description
SQL Events

Three SQL events are available when peforming create, update, and delete operations with Xbasic: UpdateBegin(), UpdateEnd(), UpdateProgress().

UpdateBegin Function

AlphaDAO calls UpdateBegin()when it about to process a batch of updates. This event is useful for displaying a progress/cancel dialog.

UpdateEnd Function

AlphaDAO calls UpdateEnd()at the end of processing.

UpdateProgress Function

AlphaDAO calls UpdateProgress() repeatedly as rows are processed.

DatabaseSnapshot Events

Available events for working with DatabaseSnapshots.

DatabaseBegin Function

Called when a batch of updates is about to be processed for a database. This event is useful for displaying a progress/cancel dialog.

DatabaseEnd Function

Called at the end of processing for a database level update.

TableBegin Function

Called when a batch of updates is about to be processed for a table. This event is useful for displaying a progress/cancel dialog.

TableEnd Function

Called at the end of processing for a table level update.